package com.example.house.api

import com.example.base.app.conts.BaseConst
import com.example.common.view.api.BaseApiServer
import com.example.common.view.model.BaseResultData
import com.example.house.entity.House
import com.example.house.entity.People
import retrofit2.http.GET
import retrofit2.http.Path

interface HouseServer:BaseApiServer {
    @GET(BaseConst.GET_HOUSE_URL)
    suspend fun getHouse(@Path("regionId")regionId:Int):BaseResultData<List<House>>
    @GET(BaseConst.GET_PEOPLE_URL)
    suspend fun getPeople():BaseResultData<List<People>>
}